package com.starinside.wp.service;

import com.starinside.wp.domain.Feeds;
import com.starinside.wp.foundation.model.StatusResponse;
import com.starinside.wp.foundation.query.base.PagerQuery;
import com.starinside.wp.foundation.vo.BindedBabyVO;
import com.starinside.wp.foundation.vo.ChildrenVo;
import org.springframework.data.domain.PageRequest;
import org.springframework.web.servlet.ModelAndView;

import java.util.List;
import java.util.Map;

/**
 * @Describle This Class Is
 * @Author ZengMin
 * @Date 2018/11/9 11:00
 * @Company Matt
 */
public interface FeedsService {

    Map<String, Object> getAllByChildrens(List<BindedBabyVO> childrens, PagerQuery pagerQuery, String uid);

    Feeds postFeeds(String parentId,  String childrenId, String title, String content, String resources, Integer mediaType);

    boolean addPraise(String uid, String fid);

    boolean deletePraise(String uid, String fid);

    Feeds getOne(String id);

    Map getOne(String id, String uid) ;

    Object getDetailEvaluate(String linkId);

    Object getDetailPlanCourse(String childrenId, PagerQuery pagerQuery);

    Object getLinkedObjects(String feedId, String childrenId, PagerQuery pagerQuery);

    Feeds save(String staffId, String childrenId, String place, String event, String eventType, String title, String content, String images, String videos, String linkId);

}
